summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
pr106641
# DP: Fix PR demangler/106641, taken from the trunk.
# DP: Fix PR demangler/106641, taken from the trunk.
libiberty: fix resource exhaustion in rust demangler (PR demangler/106641)
demangle_binder() parses the bound_lifetimes count as a base-62
integer with no upper bound. A crafted symbol can encode a huge
lifetime count in very few bytes, causing OOM or CPU hang.
Cap bound_lifetimes at 1024 and check rdm->errored in the loop
so it bails out early on errors during iteration.
libiberty/ChangeLog:
PR demangler/106641
* rust-demangle.c (demangle_binder): Reject bound_lifetimes
above 1024 to prevent resource exhaustion from crafted symbols.
Add rdm->errored check in the loop condition.
* testsuite/rust-demangle-expected: Add regression test.
Gbp-Pq: Name pr106641.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
sh-disable-tests
Gbp-Pq: Name sh-disable-tests.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
gprofng-cross-build
Gbp-Pq: Name gprofng-cross-build.diff
James Addison [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/
1090395
Bug-Debian: https://bugs.debian.org/
1092870
Last-Update: 2025-01-13
Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
armhf-64k-alignment
The upstream binutils commit below reduced the section alignment of
armhf executables (including shared libraries) from 64k to 4k, on the
basis that the additional bloat is not justified, given that arm64 hosts
running 64k pagesize kernels with armhf user space are not used in
practice.
However, the situation is slightly different today on Debian, where a
16k pagesize kernel is provided that enables compat support, and is
therefore able to execute armhf user space. The only impediment is the
fact that armhf binaries are no longer compatible with this, due to the
change below.
To accommodate this use case, revert the patch. This makes the generated
executables compatible with compat mode on arm64 systems running 16k
kernels.
Gbp-Pq: Name armhf-64k-alignment.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
env-package-metadata
Gbp-Pq: Name env-package-metadata.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
perl-shebang
Gbp-Pq: Name perl-shebang.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
mips-hack
Gbp-Pq: Name mips-hack.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
libctf-soname
Gbp-Pq: Name libctf-soname.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
aarch64-libpath
Gbp-Pq: Name aarch64-libpath.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
gprof-build
# DP: Fix gprof build error.
# DP: Fix gprof build error.
Gbp-Pq: Name gprof-build.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
_ld_doc_remove_xref
# DP: In ld.texi, remove cross reference to BFD internals documentation.
# DP: In ld.texi, remove cross reference to BFD internals documentation.
Gbp-Pq: Name 164_ld_doc_remove_xref.diff
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
_ar_scripts_with_tilde
Gbp-Pq: Name 157_ar_scripts_with_tilde.patch
Balint Reczey [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Build libbfd with -fPIC to allow linking with PIE binaries
Gbp-Pq: Name 136_bfd_pic.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
_bfd_soversion
Gbp-Pq: Name 135_bfd_soversion.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Description: Fix ld-bootstrap testsuite when configured with --enable-plugins
Upstream status: proposed patch
Upstream status: proposed patch
Gbp-Pq: Name 131_ld_bootstrap_testsuite.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
_multiarch_libpath
# DP: Add multiarch directories to linker search path for ld and gold.
# DP: Add multiarch directories to linker search path for ld and gold.
Gbp-Pq: Name 129_multiarch_libpath.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
_ppc64_powerpc_biarch
Gbp-Pq: Name 128_ppc64_powerpc_biarch.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Explicitly use bash for the ld testsuite.
Gbp-Pq: Name 013_bash_in_ld_testsuite.patch
David Kimdon [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Specify which filename is causing an error if the filename is a
directory. (#45832)
Gbp-Pq: Name 006_better_file_error.patch
Chris Chimelis [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Don't mention monitor(3) which doesn't exist in Debian. (#160654)
Gbp-Pq: Name 003_gprof_see_also_monitor.patch
Chris Chimelis [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Add more documentation about profiling and -fprofile-arcs.
Gbp-Pq: Name 002_gprof_profile_arcs.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Description: correct where ld scripts are installed
Upstream status: N/A
Upstream status: N/A
Date: ??
Gbp-Pq: Name 001_ld_makefile_patch.patch
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
binutils (2.46-3) unstable; urgency=medium
* Fix PR demangler/106641, taken from the trunk.
* Drop build dependency on quilt. Closes: #
1129263.
* Update libgprofng symbols file.
[dgit import unpatched binutils 2.46-3]
Matthias Klose [Thu, 5 Mar 2026 11:22:39 +0000 (12:22 +0100)]
Import binutils_2.46-3.debian.tar.xz
[dgit import tarball binutils 2.46-3 binutils_2.46-3.debian.tar.xz]
Matthias Klose [Sun, 8 Feb 2026 13:26:28 +0000 (14:26 +0100)]
Import binutils_2.46.orig.tar.xz
[dgit import orig binutils_2.46.orig.tar.xz]